import http from "../common/http";
//下单
export const postOrderApi = (parm)=>{
	return http.post("/api/wechat/order",parm)
}
//获取订单
export const getOrderListApi = (parm)=>{
	return http.get("/api/wechat/order/list",parm)
}
//取消订单
export const cancelOrederApi = (parm)=>{
	return http.get("/api/wechat/order/cancel",parm)
}
//确认收货
export const confirmOrederApi = (parm)=>{
	return http.get("/api/wechat/order/complete",parm)
}